package com.zhuangjie.rider.dto;

import com.zhuangjie.mvc.validator.annotate.PhoneNumber;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public abstract class RiderLoginAbstract {
    @NotBlank(message = "手机区号不能为空")
    private String phoneAreaCode;
    @PhoneNumber(message = "手机号码格式不正确")
    private String phoneNumber;
}
